package service.impl;

import org.springframework.stereotype.Service;
import service.RoleService;


@Service
public class RoleServiceImpl implements RoleService {
    @Override
    public void findAll() {
        System.out.println("RoleServiceImpl.findAll:执行");
    }

    @Override
    public void findOne() {
        try {
            int i =1/0;
        }catch(Exception e){
            throw new RuntimeException("后台维护中……");
        }
        System.out.println("RoleServiceImpl.findOne:执行");
    }
}
